<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>com.yixun.${c.groupId}</groupId>
		<artifactId>${c.groupId}-parent</artifactId>
		<version>0.1</version>
	</parent>
	<artifactId>${c.groupId}-admin</artifactId>
	<version>0.1</version>
	<packaging>war</packaging>
	<name>${c.escape}{project.artifactId} v${c.escape}{project.version}</name>
	
	<dependencies>
		<!-- ssm001 -->
		<dependency>
			<groupId>com.yixun.ssm001</groupId>
			<artifactId>common-util</artifactId>
		</dependency>
		<dependency>
			<groupId>com.yixun.ssm001</groupId>
			<artifactId>web-common</artifactId>
		</dependency>
		<dependency>
			<groupId>com.yixun.ssm001</groupId>
			<artifactId>admin-core</artifactId>
		</dependency>
		<dependency>
			<groupId>com.yixun.ssm001</groupId>
			<artifactId>admin-web</artifactId>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>com.yixun.ssm001</groupId>
			<artifactId>admin-web</artifactId>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>com.yixun.${c.groupId}</groupId>
			<artifactId>${c.groupId}-core</artifactId>
		</dependency>
	</dependencies>
	<build>
		<resources>
			<resource>
				<directory>src/main/java</directory>
				<includes>
					<include>**/*.xml</include>
				</includes>
			</resource>
			<resource>
				<directory>src/main/resources</directory>
				<includes>
					<include>**/*</include>
				</includes>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<encoding>utf-8</encoding>
					<target>1.6</target>
					<source>1.6</source>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.4</version>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
						<configuration>
							<archive>
								<manifest>
									<addClasspath>true</addClasspath>
								</manifest>
							</archive>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-war-plugin</artifactId>
				<version>2.1.1</version>
				<configuration>
					<overlays>
						<overlay>
							<groupId>com.yixun.ssm001</groupId>
							<artifactId>admin-web</artifactId>
						</overlay>
					</overlays>
					<dependentWarExcludes>
						WEB-INF/lib
					</dependentWarExcludes>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>